package cn.cnhis.online.base;

import java.io.Serializable;

public class Const {
    //   用户信息文件名字
    public static final String USER_INFO = "USER_INFO";
    public static final String IS_FIRST = "IS_FIRST";
    public static final String USER_NAME = "USER_NAME";
    public static final String USER_TYPE = "USER_TYPE";
    public static final String USER_PHONE = "USER_PHONE";
    public static final String USER_ID = "USER_ID";
    public static final String USER_IMG = "USER_IMG";
    public static final String PROVINCE = "PROVINCE";
    public static final String CITY = "CITY";
    public static final String DISTRICT = "DISTRICT";

    /**
     * 病人所在科室 通过 科室列表选择 存入 缓存中
     */
    public static final String USER_DEPARTMENT = "USER_DEPARTMENT";


    //    访问数据正常
    public static final int RESULT_CODE_OK = 200;
    //    获取结果成功
    public static final String RESULT_FAILED = "FAILED";
    //    获取结果失败
    public static final String RESULT_OK = "SUCCESS";

    //    服务器地址
//    public static final String BASE_USRL = "http://192.168.1.31:8080/";
//    public static final String BASE_USRL = "http://192.168.1.31:9090/";
    public static final String BASE_USRL = "http://192.168.1.19:8098/";
    //    public static final String BASE_USRL = "http://192.168.1.43:9090/";
    //用户类型  护士  固定数据
    public static final String PRODUCTCODE = "mobilenurse";
    //     医院ID
    public static final String HOSPITALS_ID = "HOSPITALS_ID";
    //    医院名字
    public static final String HOSPITALS_NAME = "HOSPITALS_NAME";
    //    会话控制ID
    public static final String JESSIONIDS = "JESSIONIDS";

    //    eventbus  发送查询病人条件的信息
    public static final String SEARCHN_PATIENT_ACTION = "SEARCHN_PATIENT_ACTION";

    //   病人信息页面 刷新病人信息使用
    public static final String UPDATE_PATIENT_INFO = "UPDATE_PATIENT_INFO";

    // 医嘱执行页面 刷新 待执行 已执行 已完成等 病人信息
    public static final String UPDATE_DOCTOR_ADVICE_INFO = "UPDATE_DOCTOR_ADVICE_INFO";

    //刷新皮试页面
    public static final String UPDATE_DOCTOR_ADVICE_SKIN_TEST = "UPDATE_DOCTOR_ADVICE_SKIN_TEST";


    /*传递数据时  作为BUNLE 在 intent 中 的 键*/
    public static final String INTENT_KEY = "INTENT_KEY";
    /**
     * 当 跨页面传递数据 包含 对象及其他数据时 使用
     */
    public static final String INTENT_SERIALIZABLE_KEY = "INTENT_SERIALIZABLE_KEY";


    /**
     * 跳转页面携带数据回传的 请求码
     */
    public static final int INTENT_FOR_RESULT_KEY = 9;

    public static final int INTENT_FOR_RESULT_KEY2 = 10;

    /**
     * 扫描 瓶子二维码的 请求码
     */
    public static final int SCANING_BOTTLE_REQUEST_CODE = 1;

    /**
     * 扫描 病人的二维码请求码
     */
    public static final int SCANING_PATIENT_REQUEST_CODE = 2;

    /**
     * 扫描瓶签换瓶
     */
    public static final int SCANING_CHANGE_BATTLE = 4;


    /**
     * 扫描输液巡视 请求码
     */
    public static final int SCANING_PATROL_REQUEST_CODE = 3;


    /**
     * 就诊ID  vaa07
     */
    public static final String VAA07 = "VAA07";

    /**
     * 瓶签码
     */
    public static final String VBI21 = "VBI21";
    /**
     * 病人ID  vaa01
     */
    public static final String VAA01 = "VAA01";

    /**
     * 医嘱ID  cbm01
     */
    public static final String CBM01 = "CBM01";

    /**
     * 单据ID  vai01
     */
    public static final String VAI01 = "VAI01";

    /**
     * 结账ID  vak01
     */
    public static final String VAK01 = "VAK01";

    /**
     * 登陆者  部门ID
     */
    public static final String BACK01 = "BACK01";
    /**
     * 部门名字
     */
    public static final String BACK03 = "BACK03";

    /**
     * 号码
     */
    public static final String CODE = "CODE";

    /**
     * 刷新医嘱信息 及 医嘱 下的 所有 fragment 中的数据  广播频道
     */
    public static final String REFRESH_DOCTOR_ADVICE = "REFRESH_DOCTOR_ADVICE";


    //http 协议
    public static final String HTTP = "http://";
    //    服务器IP地址
    public static final String SERVER_ADDRESS = "SERVER_ADDRESS";
    public static final String SERVER_IP = "SERVER_IP";
    public static final String SERVER_PORT = "SERVER_PORT";
    //输液配置 时间
    public static final String INFUSIONt_TIME = "INFUSION_TIME";

    /**
     * 扫描瓶签 刷新 执行中 列表的按钮
     */
    public static final String CHANGE_BATTLE = "CHANGE_BATTLE";
    // 业务类型
    public static final String SERVICE_TYPE = "SERVICE_TYPE";
    //eventBus 发送数据 频道
    public static final String WORK_LOAD_ACTION = "WORK_LOAD_ACTION";

    public static final String START_TIME = "START_TIME";

    public static final String END_TIME = "END_TIME";

    // 病人列表左侧 菜单 点击保存 常用科室ID 方便第二次进来匹配
    public static final String NURSE_NORMAL_DEPART_ID = "NURSE_NORMAL_DEPART";
    public static final String NURSE_NORMAL_DEPART_NAME = "NURSE_NORMAL_DEPART";
}
